//调用接口配置文件
import { request } from 'config/request'
//获取商品列表
export async function getList (params) {
  return request({
    // url: 'yundt/mgmt/item/list-by-page',
    url: 'admin/org/queryRecommendList',
    method: 'POST',
    headers: {
      'Content-type': 'application/json'
    },
    data: params
  })
}

//获取商品详情
export async function getDetail (params) {
  return request({
    url: `admin/org/recommendDetail/${params.id}`,
    method: 'GET',
    data: params
  })
}


//查询统计信息
export async function queryOrgMemberById (params) {
  return request({
    url: `admin/org/queryOrgMemberById`,
    method: 'POST',
    headers: {
      'Content-type': 'application/json'
    },
    data: params
  })
}

//导出
export async function exportList (params) {
  return request({
    url: `admin/org/exportRecommendList`,
    method: 'POST',
    data: params
  })
}
//团队列表
export async function getTeam (params) {
  return request({
    url: `admin/org/team/list/${params}`,
    method: 'GET',
    data: {}
  })
}
